import request from '@/utils/request'
export function gatList(data) {
  return request({
    url: '/PB/PB_Customer/QueryAllData',
    method: 'post',
    data
  })
}
export function QueryDataList(data) {
  return request({
    url: '/PB/PB_Address/QueryDataList',
    method: 'post',
    data
  })
}
export function delList(data) {
  return request({
    url: '/PB/PB_Customer/DeleteData',
    method: 'post',
    data
  })
}
export function delData(data) {
  return request({
    url: '/PB/PB_Address/DeleteData',
    method: 'post',
    data
  })
}
export function newList(data) {
  return request({
    url: '/PB/PB_Customer/SaveData',
    method: 'post',
    data
  })
}
export function editList(data) {
  return request({
    url: '/PB/PB_Customer/GetTheData',
    method: 'post',
    data
  })
}
export function SaveList(data) {
  return request({
    url: '/PB/PB_Customer/SaveData',
    method: 'post',
    data
  })
}
export function checkList(data) {
  return request({
    url: '/PB/PB_Customer/QueryDataList',
    method: 'post',
    data
  })
}
export function SaveDataList(data) {
  return request({
    url: '/PB/PB_Address/SaveData',
    method: 'post',
    data
  })
}
export function GetTheData(data) {
  return request({
    url: '/PB/PB_Address/GetTheData',
    method: 'post',
    data
  })
}
export function ExportToExcel() {
  return request({
    url: '/PB/PB_Customer/ExportToExcel',
    responseType: 'blob'
  })
}
export function shangExcel(data) {
  return request({
    url: '/PB/PB_Customer/Import',
    method: 'post',
    data
  })
}
